package com.homework1;

/**
 * @author :  DongZheng Wang
 * @PROJECT_NAME: java泛型
 * @date :  2022-10-26 09:28
 **/
@SuppressWarnings("all")
public class Anniversary {
    public static void main(String[] args) {
        int a=15;
        Test2 test = new Test2();
        test.show();
    }
}


class Test2{
private int a;
private int b;
@Deprecated
public void show(){
    System.out.println("~~~~");
}

    @Override
    public String toString() {
        return super.toString();
    }
}
@FunctionalInterface
interface test{
    public void test1();
}